package com.aisile.pojogroup;

import com.aisile.pojo.TbSpecification;
import com.aisile.pojo.TbSpecificationOption;

import java.io.Serializable;
import java.util.List;

/**
 * @标题 Specification
 * @作者 Mr.chen
 * @创建日期 2018/12/28 11:17
 * @版本号 1.0
 **/
public class Specification implements Serializable{

    //1 规格主表
    private TbSpecification spec;

    //2 规格选项
    private List<TbSpecificationOption> specOptionList;

    public Specification() {
    }

    public Specification(TbSpecification spec, List<TbSpecificationOption> specOptionList) {
        this.spec = spec;
        this.specOptionList = specOptionList;
    }

    public TbSpecification getSpec() {
        return spec;
    }

    public void setSpec(TbSpecification spec) {
        this.spec = spec;
    }

    public List<TbSpecificationOption> getSpecOptionList() {
        return specOptionList;
    }

    public void setSpecOptionList(List<TbSpecificationOption> specOptionList) {
        this.specOptionList = specOptionList;
    }
}
